cmake_minimum_required(VERSION 3.22)
project(CProject C)

set(CMAKE_C_STANDARD 99)

add_executable(CProject main.c chapter01/01_Hello.c chapter01/03_HelloC.c chapter01/04_Printf.c chapter02/01_Identifier.c)

add_executable(01_Hello chapter01/01_Hello.c chapter01/02_CommentTest.c)
add_executable(main main.c)
add_executable(02_CommentTest chapter01/02_CommentTest.c)
add_executable(03_HelloC chapter01/03_HelloC.c)
add_executable(04_Printf chapter01/04_Printf.c)